#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL;
using Cephei.QL.Times;
using Cephei.QL.Indexes;
namespace Cephei.QL.Cashflows
{
     // <summary> 
	// ! Helper class building a sequence of capped/floored yoy inflation coupons ! payoff is: spread + gearing x index
	// </summary>
    [Guid ("4CE31C33-02F6-479f-A2B1-0774203C5DFC"),ComVisible(true)]
	public interface IyoyInflationLeg 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Cashflows.IyoyInflationLeg WithCaps(Cephei.IVector<Double> caps);
        
		 Cephei.QL.Cashflows.IyoyInflationLeg WithFixingDays(Cephei.IVector<UInt32> fixingDays);
        
		 Cephei.QL.Cashflows.IyoyInflationLeg WithFloors(Cephei.IVector<Double> floors);
        
		 Cephei.QL.Cashflows.IyoyInflationLeg WithGearings(Cephei.IVector<Double> gearings);
        
		 Cephei.QL.Cashflows.IyoyInflationLeg WithNotionals(Cephei.IVector<Double> notionals);
        
		 Cephei.QL.Cashflows.IyoyInflationLeg WithPaymentAdjustment(QL.Times.BusinessDayConventionEnum convention);
        
		 Cephei.QL.Cashflows.IyoyInflationLeg WithPaymentDayCounter(Cephei.QL.Times.IDayCounter dayCounter);
        
		 Cephei.QL.Cashflows.IyoyInflationLeg WithSpreads(Cephei.IVector<Double> spreads);
    }

    // <summary> 
	// ! Helper class building a sequence of capped/floored yoy inflation coupons ! payoff is: spread + gearing x index Factory
	// </summary>
   	[ComVisible(true)]
    public interface IyoyInflationLeg_Factory // : Collection_Factory<IyoyInflationLeg, ICell<IyoyInflationLeg>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IyoyInflationLeg Create (Cephei.QL.Times.ISchedule schedule, Cephei.QL.Times.ICalendar cal, Cephei.QL.Indexes.IYoYInflationIndex index, Cephei.QL.Times.IPeriod observationLag);
    }
}

